home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / HELLSRC.ZIP / PDOSMSG.RT < prev    next >
Text File  |  1993-06-23  |  543b  |  23 lines

  1. public  _putdosmsg
  2. ;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  3. ; Put '$' terminated message to DOS
  4. ; In:
  5. ;   EDX -> message in low mem
  6. ;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  7. _putdosmsg:
  8.         push ax
  9.         push edx
  10.         add edx,_code32a
  11.         mov al,dl
  12.         and ax,0fh
  13.         shr edx,4
  14.         mov v86r_ds,dx
  15.         mov v86r_dx,ax
  16.         mov v86r_ah,9
  17.         mov al,21h
  18.         int 33h
  19.         pop edx
  20.         pop ax
  21.         ret
  22.  
  23.